package com.zz.zzc;

public class Test21 {

	public static void main(String[] args) {
		Child20 child = new Child20();
		//继承于父类
		child.name = "张三";
		child.getName();
		//子类自己持有的属性
		child.height = 180;
	}
	
}
